import request from "@/utils/request";

let valueAddedServicesApi = {
  // 开通增值服务  续费
  openValueAddedServices(data) {
    return request({
      url: "/valueAddedServiceOrder",
      method: "post",
      data,
    });
  },
  // 增值服务-我的增值服务
  myValueAddedServiceList(params) {
    return request({
      url: "/valueAddedService/list",
      method: "get",
      params,
    });
  },
  // 增值服务-修改自动续费开关
  myValueAddedServiceChangeAuto(data) {
    return request({
      url: "/valueAddedService/updateIsAuto",
      method: "post",
      data,
    });
  },
  // 增值服务-开通竞价回收页 -回收线索统计
  backlistCountByGame() {
    return request({
      url: "/account/backlist/countByGame",
      method: "get"
    });
  },
   // 增值服务-关闭服务
   closeAndDelService(data) {
    return request({
      url: "/account/tenant/closeAndDel/service",
      method: "post",
      data,
    });
  },
};
export default valueAddedServicesApi;
